<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link  href="{$module_path}/resource/bootstrap.css" rel="stylesheet" type="text/css"/>
    <link  href="{$module_path}/resource/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link  href="{$module_path}/resource/bootstrap-theme.css" rel="stylesheet" type="text/css"/>
    <link  href="{$module_path}/resource/bootstrap-theme.min.css" rel="stylesheet" type="text/css"/>
    <link  href="{$module_path}/resource/lists.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="{$module_path}/resource/semantic.min.css">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <script src="{$module_path}/resource/jquery-3.0.0.min.js"></script>
    <script src="{$module_path}/resource/bootstrap.min.js"></script>
    <script src="{$module_path}/resource/jquery.min.js"></script>
    <script src="{$module_path}/resource/semantic.min.js"></script>
    <script src="{$module_path}/resource/lists.js?v=1.0"></script>
    <base href="http://app.baobaot.com/">
</head>
<body>
   <div style="text-align:center">
       <div class="center-block">
           <div class="page_title ">
               <button id="glyphicon">
                   <span class="glyphicon glyphicon-chevron-left" ></span>
               </button>
               <span class="hallList" >影院列表</span>
           </div>

           <form action="" method="get" class="js_focusSearchForm">
           <div class="input-group"  type="submit"  style="margin-top:-4%">

               <input type="text" id="search" name="search" value="{$search}" class="form-control" placeholder="模糊查找门店名称">
               <span class="input-group-btn">
                     <button type="submit" class="btn btn-default" >搜索</button>
               </span>
           </div>
           </form>

        {foreach $info as $k=>$v}
        <div class = "single" id = "{$v.id}">   <!--当前元素的ID设置成了门店ID -->
        <table border  rules="none" class="lists" id="lists{$v.id}">
            <tr><td class="image" rowspan="5" colspan="3" >
                <img id="img"  alt="门店图" src="{if $v['cover']}{_image($v['cover'])}{else}{store_helper::cover($v['cover'])}{/if}" />
                </td><!--rowspan=3，跨三行表元-->
            <td>门店名称：{$v['title']}</td> <td >状态：{$v['status']}</td></tr>
            <tr rowspan="1" ><td >&nbsp</td> <td >&nbsp</td></tr>
            <tr ><td >合伙人：{$v['agency_name']}</td> <td >签约人：{$v['sign_user_name']}</td></tr>
            <tr rowspan="1" ><td >&nbsp</td> <td >&nbsp</td></tr>
            <tr ><td>第{$v['store_order']}号分店 </td> <td >{$month}月订货量：{$v['amount']}箱/{$v['money']}元</td></tr>

        </table>
        </div>

        {/foreach}
        <br><br>
       {include_core file="admin/lib/pager.html"}
        <br><br>
        <button id="newsign" class="ui primary button" type="button">新签影院</button>
        <br>
        </div>

    </div>

</div>

</body>
</html>


<script>
    $(".single").click(function(){
        var store_id = $(this).attr("id")
        window.location.href="/cinema_h5/detail.html?store_id="+store_id;
    }) ;

    $("#newsign").click(function(){
        window.location.href="/cinema_h5/sign.html";
    }) ;

    $("#glyphicon").click(function(){
            history.go(-1);
    }) ;
</script>